package com.irdstudio.basic.sequence.service.impl.support.segment.segment.dao;

import org.apache.ibatis.annotations.*;

import com.irdstudio.basic.sequence.service.impl.support.segment.segment.model.LeafAlloc;

import java.util.List;

public interface IDAllocMapper {

    List<LeafAlloc> getAllLeafAllocs();

    LeafAlloc getLeafAlloc(@Param("tag") String tag);

    void updateMaxId(@Param("tag") String tag);

    void updateMaxIdByCustomStep(@Param("step") Integer step, @Param("key") String key);

    List<String> getAllTags();
}
